SpanExcluding(string, set)


Returns all characters from string from its beginning until it reaches a character from the set of characters. The search is case-sensitive.

See also GetTimeZoneInfo and SpanIncluding.

string

Any string.

set

String containing one or more characters being sought.